package com.ojoin.trade.t0loan_core.web.service;

import java.util.List;

import com.ojoin.trade.common.exception.BusinessException;
import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.t0loan_core.web.domain.TbAgentpayLog;

public interface TbAgentpayLogService extends BaseService<TbAgentpayLog>{
    
	void insertAgentpayLog(TbAgentpayLog vo) throws BusinessException;
	
	List<TbAgentpayLog> queryByCode(String code);
	
	TbAgentpayLog queryByReqId(String reqId);
	
	List<TbAgentpayLog> selectByCondition(TbAgentpayLog vo) throws BusinessException;
	
	void updateByCondition(TbAgentpayLog vo) throws BusinessException;
	
	String agentPayAvailableCredit() throws BusinessException;
	
	String agentPay(int id) throws BusinessException;

	String agentPayResult(String reqId) throws BusinessException;

	
}